﻿using HRX.PayCenter.ApplicationCore.Interfaces.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace HRX.PayCenter.ApplicationCore.Entities
{
    public class BaseEntity : IId, IAddTime, IIsDeleted, ILastModifyTime, IOrderNo, IAmount
    {
        /// <summary>
        /// 自增Id
        /// </summary>
        public int Id { get ; set ; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 交易金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime AddTime { get ; set ; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get ; set ; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastModifyTime { get ; set ; }
    }
}